package com.sjht.android.bxgz.network;

import java.io.InputStream;



public abstract class IAsyncRequest {
	
	public static final String HTTP_SCHEME 			= "http";
	public static final String HTTP_HOST 			= "117.135.211.227:801/daijia/";
	public static final String HTTP_AGENT 			= "Client";
	
	protected int mApn; // 使用接入点
	protected boolean mCookieEnable = true;

	// 联网
	public abstract InputStream execute(RequestEntity requestEntity) throws Exception;
	// 关闭&回收
	public abstract void close();

	// 中止
	public abstract void abort();


	public int getApn() {
		return mApn;
	}

	public void setApn(int apn) {
		mApn = apn;
	}
}
